package com.design.mode.adapter;

/**
 * Created by lucky on 2018/9/13.
 */
public class Banner {

    private String print;

    public Banner(String print){
        this.print = print;
    }

    public void showWithParent(){
        System.out.println("(" + print + ")");
    }

    public void showWithAster(){
        System.out.println("&" + print + "&");
    }
}
